﻿namespace Angle.Data
{
    using System.Data.Entity;

    using Angle.Core.Domains;

    using Skymate.Authorization;

    public partial class AngleDemoContext: DbContext
    {
        public AngleDemoContext()
            : base("AngleDemo")
        {
            this.Configuration.AutoDetectChangesEnabled = true;
            this.Configuration.LazyLoadingEnabled = true;
        }

        public DbSet<User> Users
        {
            get { return Set<User>(); }
        }

        public DbSet<Role> Roles
        {
            get { return Set<Role>(); }
        }


        public DbSet<SystemFunction> SystemFunctions
        {
            get { return Set<SystemFunction>(); }
        }
    }
}